home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / Aminet / util / sys / Make060.lha / Make060 / Make060.c < prev    next >
C/C++ Source or Header  |  2002-06-27  |  748b  |  41 lines

  1. /*
  2. **      $VER: Make060 1.2 (27.6.2002)
  3. **
  4. **      Sets AFF_68060 in ExecBase, it your accelerator soft didn't...
  5. **      Makes your 040 Amiga emulator appear as 060 (useful with some software)
  6. **
  7. **      (C) Copyright 1996-200 Andreas R. Kleinert
  8. **      All Rights Reserved.
  9. */
  10.  
  11. #define __USE_SYSBASE
  12.  
  13. #include <exec/types.h>
  14. #include <exec/execbase.h>
  15.  
  16. #include <proto/exec.h>
  17.  
  18.  
  19. #ifndef AFB_68060   /* if not already done within "execbase.h" */
  20.  
  21. #define AFB_68060 (7)
  22. #define AFF_68060 (1L<<AFB_68060)
  23.  
  24. #endif /* AFB_68060 */
  25.  
  26.  
  27. #include <stdlib.h>
  28.  
  29. char ver_text [] = "\0$VER: Make060 1.2 (27.6.2002)";
  30.  
  31. void main(long argc, char **argv)
  32. {
  33.  extern struct ExecBase *SysBase;
  34.  
  35.  Forbid();
  36.  SysBase->AttnFlags |= AFF_68060;
  37.  Permit();
  38.  
  39.  exit(0);
  40. }
  41.